<!DOCTYPE html>
<!-- saved from url=(0030)http://localhost:2674/Announce -->
<html class=" js flexbox canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>Formularz zgłoszenia drużyny</title>
    <link href="./Formularz zgłoszenia drużyny_files/Site.css" rel="stylesheet" type="text/css">
    <script src="./Formularz zgłoszenia drużyny_files/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="./Formularz zgłoszenia drużyny_files/modernizr-1.7.min.js" type="text/javascript"></script>
	
	<script type="text/javascript">
		$(document).ready(function () {
		$("#creator").click(function () {
	//	var text = $("#numberOfPlayers option:selected").text();
	//	var value = $("#numberOfPlayers option:selected").val();
	//	alert("Selected text="+ text +" Selected value= "+ value);
		
	
	for (var i=0; i<$("#numberOfPlayers option:selected").val(); i++)
	{
		$("#player").clone().insertAfter("#player").hide().fadeIn(1000);
	}

		
	});
	});
	</script>


</head><link rel="stylesheet" type="text/css" href="data:text/css,">
<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>My MVC Application</h1>
            </div>
            <div id="logindisplay">
                    [ <a href="http://localhost:2674/Account/LogOn">Log On</a> ]

            </div>
            <nav>
                <ul id="menu">
                    <li><a href="http://localhost:2674/">Home</a></li>
                    <li><a href="http://localhost:2674/Home/About">About</a></li>
                </ul>
            </nav>
        </header>
        <section id="main">
            

<h2>Index</h2>


<form action="./Formularz zgłoszenia drużyny_files/Formularz zgłoszenia drużyny.htm" method="post">    <fieldset id="playersField">
        <legend>Formularz zgłoszeniowy</legend>
        
        <fieldset>
        <legend>Dane drużyny</legend>
        <div class="editor-label">
            <label for="TeamName">TeamName</label>
        </div>
        <div class="editor-field">
            <input class="text-box single-line" id="TeamName" name="TeamName" type="text" value="">
            <span class="field-validation-valid" data-valmsg-for="TeamName" data-valmsg-replace="true"></span>
			<select name="mydropdown" id="numberOfPlayers">
				<option value="2">2</option>
				<option value="3">3</option>
				<option value="4">4</option>
			</select>
			<input type="button" id="creator" value="Generate" />
			
        </div>
        </fieldset>
		<br>

            <fieldset id="player" float:left;>
                <legend>Gracz 0</legend>
                <div class="editor-label">
                    <label for="Players_0__Name">Name</label>
                </div>
                <div class="editor-field">
                    <input class="text-box single-line" id="Players_0__Name" name="Players[0].Name" type="text" value="">
                   
                </div>

                <div class="editor-label">
                    <label for="Players_0__Surname">Surname</label>
                </div>
                <div class="editor-field">
                    <input class="text-box single-line" id="Players_0__Surname" name="Players[0].Surname" type="text" value="">
                    
                </div>

                <div class="editor-label">
                    <label for="Players_0__Email">Email</label>
                </div>
                <div class="editor-field">
                    <input class="text-box single-line" id="Players_0__Email" name="Players[0].Email" type="text" value="">
                  
                </div>

                <div class="editor-label">
                    <label for="ChefPlayerIndex">ChefPlayerIndex</label>
                </div>
                
                <div class="editor-field">
                        i = 0
<input checked="True" data-val="true" data-val-number="The field ChefPlayerIndex must be a number." data-val-required="The ChefPlayerIndex field is required." id="ChefPlayerIndex" name="ChefPlayerIndex" type="radio" value="0">                    
                    <span class="field-validation-valid" data-valmsg-for="ChefPlayerIndex" data-valmsg-replace="true"></span>
                </div>
                
                

            </fieldset>

        <p>
            <input type="submit" value="Utwórz">
        </p>
    </fieldset>
</form>


        </section>
        <footer>
        </footer>
    </div>


</body></html>